package com.dhcc.bpm.business.papc.service;

import com.dhcc.bpm.business.papc.entity.PrdtInfo;
import com.dhcc.bpm.business.papc.vo.PrdtInfoVO;
import org.springblade.core.mp.base.BaseService;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * 产品基础信息  服务类
 *
 * @author liuzhao
 * @since 2020-05-16
 */
public interface IPrdtInfoService extends BaseService<PrdtInfo> {

    /**
     * @param page
     * @param prdtInfo
     * @return com.baomidou.mybatisplus.core.metadata.IPage<com.dhcc.bpm.business.papc.vo.PrdtInfoVO>
     * @Description 自定义分页
     * @Author liuzhao
     * @Date 2020/5/22 11:27
     **/
    IPage<PrdtInfoVO> selectPrdtInfoPage(IPage<PrdtInfoVO> page, PrdtInfoVO prdtInfo);

    /**
     * @param id
     * @return com.dhcc.bpm.business.papc.entity.PrdtInfo
     * @Description 详情
     * @Author liuzhao
     * @Date 2020/5/22 11:27
     **/
    PrdtInfo selectPrdtInfoById(Long id);

    /**
     * @param prdtInfo
     * @return boolean
     * @Description 新增或修改
     * @Author liuzhao
     * @Date 2020/5/22 11:27
     **/
    @Override
    boolean saveOrUpdate(PrdtInfo prdtInfo);

    /**
     * @param ids
     * @return boolean
     * @Description 删除
     * @Author liuzhao
     * @Date 2020/5/22 11:27
     **/
    boolean deletePrdtInfoByIds(String ids);

    /**
     * @param prdtInfo
     * @return java.util.List<com.dhcc.bpm.business.papc.entity.PrdtInfo>
     * @Description 查询全部信息
     * @Author liuzhao
     * @Date 2020/5/22 11:27
     **/
    List<PrdtInfo> selectPrdtInfoAll(PrdtInfo prdtInfo);
}
